package manager.com.ithei.edu.info.manager.domain;

import java.text.ParseException;

public class Student extends Person{

    public Student() throws ParseException {
        super();
    }

    public Student(String sid, String name, String age, String birthday, String address) throws ParseException {
        super(sid,name,age,birthday,address);
    }

    public Student(String sid, String name, String birthday, String address) throws ParseException {
        super(sid, name, birthday, address);
    }

    public  static Student getStudent(String[] split) throws ParseException {
        Student stu=new Student(split[0],split[1],split[2],split[3],split[4]);
        return stu;
    }

}
